package org.ajc.gift.clients.fallback;


import org.ajc.gift.clients.AuthClient;
import org.ajc.gift.domain.LoginUser;
import org.ajc.gift.util.AjaxResult;
import org.springframework.stereotype.Component;

@Component
public class AuthClientFallback  implements AuthClient {

    @Override
    public AjaxResult addOrUpdate(LoginUser loginUser) {

        return AjaxResult.me().setSuccess(false).setMessage("网络异常，请重新刷新哟！");
    }
}
